﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using UIWindows.Attributes;

namespace UIWindows.Models.ParameterModels
{
    public class RangeParameterModel : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        /// <summary>
        /// 保液量标准
        /// </summary>
        [Description("保液量标准")]
        [UIMark("保液量标准", "g", 1)]
        public double Quantitative { get; set; }
        /// <summary>
        /// 保液量上限
        /// </summary>
        [Description("保液量上限")]
        [UIMark("保液量上限", "g")]
        public double QuantitativeUp { get; set; }
        /// <summary>
        /// 保液量下限
        /// </summary>
        [Description("保液量下限")]
        [UIMark("保液量下限", "g")]
        public double QuantitativeDown { get; set; }

        ///// <summary>
        ///// 变量注液量
        ///// </summary>
        //[Description("变量标准")]
        //[UIMark("变量标准", "g", 3)]
        //public double Variables { get; set; }
        /// <summary>
        /// 变量上限
        /// </summary>
        [Description("变量注液上限")]
        [UIMark("变量注液上限", "g", 1)]
        public double VariablesUp { get; set; } = 50;
        ///// <summary>
        ///// 变量下限
        ///// </summary>
        //[Description("变下限")]
        //[UIMark("变下限", "g")]
        //public double VariablesDown { get; set; }

        /// <summary>
        /// 前称重上限
        /// </summary>
        [Description("前称重上限")]
        [UIMark("前称重上限", "g")]
        public double WeighBeforeUp { get; set; }
        /// <summary>
        /// 前称重下限
        /// </summary>
        [Description("前称重下限")] 
        [UIMark("前称重下限", "g")]
        public double WeighBeforeDown { get; set; }

        ///// <summary>
        ///// 复投前称上限
        ///// </summary>
        //[Description("复投前称上限")]
        //[UIMark("复投前称上限", "g")]
        //public double ReinvestmentWeighBeforeUp { get; set; }
        ///// <summary>
        ///// 复投前称下限
        ///// </summary>
        //[Description("复投前称下限")]
        //[UIMark("复投前称下限", "g")]
        //public double ReinvestmentWeighBeforeDown { get; set; }

        /// <summary>
        /// 后称重上限
        /// </summary>
        [Description("后称重上限")] [UIMark("后称重上限", "g")]
        public double WeighAfterUp { get; set; }
        /// <summary>
        /// 后称重下限
        /// </summary>
        [Description("后称重下限")]
        [UIMark("后称重下限", "g")]
        public double WeighAfterDown { get; set; }

        /// <summary>
        /// 称重点检上限
        /// </summary>
        [Description("称重点检上限")]
       [UIMark("称重点检上限", "g")]
        public double SpotCheck_WeighingUp { get; set; }

        /// <summary>
        /// 称重点检下限
        /// </summary>
        [Description("称重点检下限")]
       [UIMark("称重点检下限", "g")]
        public double SpotCheck_WeighingDown { get; set; }

        /// <summary>
        /// 电极上限
        /// </summary>
        [Description("电极上限")]
       // [UIMark("电极上限", "MΩ")]
        public double ElectrodesUP { get; set; }
        /// <summary>
        /// 电极下限
        /// </summary>
        [Description("电极下限")]
       // [UIMark("电极下限", "MΩ")]
        public double ElectrodesDown { get; set; }


        /// <summary>
        /// 补液量下限
        /// </summary>
        [Description("补液量下限")]
        [UIMark("补液量下限", "g")]
        public double FluidRateReplenishDown { get; set; } = 0;

        /// <summary>
        /// 补液量上限
        /// </summary>
        [Description("补液量上限")]
        [UIMark("补液量上限", "g")]
        public double FluidRateReplenishUp { get; set; } = 30;

    }
}
